package com.ant.storage.mapper;

import com.ant.storage.pojo.Planned;
import com.ant.storage.vo.CommodityVo;
import com.ant.storage.vo.PlannedVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author melon
 * @since 2022-11-07
 */
public interface PlannedMapper extends BaseMapper<Planned> {

    List<Integer> selectPlannedHistoricalProcurementById(@Param("id") Integer id);

    List<CommodityVo> plannedGoolPoolDetails(@Param("id") Integer id);

    List<PlannedVo> getPolicySubscribeById(@Param("id") Integer id);

    String selectLastID();

    List<PlannedVo>  getPlannedProcurement(@Param("warehouseId") Integer warehouseId);
}
